package com.ruoyi.crm.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.checkerframework.checker.units.qual.C;

import java.util.Date;

@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper=false)
@TableName("crm_responsible_info")
public class Responsible extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**客户ID(主键)*/
    @TableId(value = "responsible_person_id", type = IdType.AUTO)
    @ExcelProperty(value = "客户ID")
    private Long responsiblePersonId; // 负责人ID

    @TableField("responsible_person_name")
    private String responsiblePersonName; // 负责人姓名

    @TableField(value = "create_by", fill = FieldFill.INSERT)
    private String createBy; // 创建人

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime; // 创建时间

    @TableField(value = "update_by", fill = FieldFill.INSERT_UPDATE)
    private String updateBy; // 修改人

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime; // 修改时间

    @TableField("remark")
    private String remark; // 备注
}
